<h3>Autos en Venta</h3>
<table cellpadding="0" cellspacing="0">
	<tr>
		<th><a href='#'>Placas</a></th>
		<th><a href='#'>Tipo</a></th>
		<th><a href='#'>Marca</a></th>
		<th><a href='#'>Modelo</a></th>
		<th><a href='#'>Kilometraje</a></th>		
	</tr>
	
<?php foreach ($ventaautos as $ventaauto): ?>
	<tr>
		<td><?php echo $ventaauto['Vehiculo']['placas']; ?></td>
		<td><?php echo $ventaauto['Vehiculo']['TipoVehiculo']['descripcion']; ?></td>
		<td><?php echo $ventaauto['Vehiculo']['MarcaVehiculo']['descripcion']; ?></td>
		<td><?php echo $ventaauto['Vehiculo']['modelo']; ?></td>
		<td><?php echo $ventaauto['Vehiculo']['km']; ?></td>		
	</tr>
<?php endforeach; ?>
</table>

<div class="paging">
<?php echo $paginator->prev('<< anterior', array(), null, array('class'=>'disabled'));?>
|
<?php echo $paginator->next('siguiente >>', array(), null, array('class'=>'disabled'));?>
</div>
<?php echo $form->create(array('url'=>'indexPdf'));?>	
<?php echo $form->submit('Generar PDF');?>
</form>